package com.clock.shop.domain.vo;

import com.clock.common.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;


public class AppointedVo {
    private static final long serialVersionUID = 1L;

    /** 预约单ID */
    private Long appointedId;

    /** 用户名 */
    @Excel(name = "用户名")
    private String userName;

    /** 支付金额精确到2位小数;单位:元。如:200.07，表示:200元7分 */
    @Excel(name = "支付金额精确到2位小数;单位:元。如:200.07，表示:200元7分")
    private String paymoney;

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /** 预约单创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "预约单创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createTime;
    /** 预约单开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "预约单开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date appointedStartTime;

    /** 预约单结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "预约单结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date appointedOverTime;

    /** 服务名称 */
    @Excel(name = "服务名称")
    private String serviceName;

    /** 预约单状态（数字‘0’表示未转化，数字‘1’表示已转化’ */
    @Excel(name = "预约单状态", readConverterExp = "预约单状态（数字‘0’表示未转化，数字‘1’表示已转化’")
    private String appointedStatus;

    /** 支付时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "支付时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date payTime;

    /** 店铺名 */
    @Excel(name = "店铺名")
    private String shopName;

    /** 店员ID */
    @Excel(name = "店员ID")
    private Long employeeId;

    public Long getAppointedId() {
        return appointedId;
    }

    public void setAppointedId(Long appointedId) {
        this.appointedId = appointedId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPaymoney() {
        return paymoney;
    }

    public void setPaymoney(String paymoney) {
        this.paymoney = paymoney;
    }

    public Date getAppointedStartTime() {
        return appointedStartTime;
    }

    public void setAppointedStartTime(Date appointedStartTime) {
        this.appointedStartTime = appointedStartTime;
    }

    public Date getAppointedOverTime() {
        return appointedOverTime;
    }

    public void setAppointedOverTime(Date appointedOverTime) {
        this.appointedOverTime = appointedOverTime;
    }

    public String getServiceName() {
        return serviceName;
    }

    public void setServiceName(String serviceName) {
        this.serviceName = serviceName;
    }

    public String getAppointedStatus() {
        return appointedStatus;
    }

    public void setAppointedStatus(String appointedStatus) {
        this.appointedStatus = appointedStatus;
    }

    public Date getPayTime() {
        return payTime;
    }

    public void setPayTime(Date payTime) {
        this.payTime = payTime;
    }

    public String getShopName() {
        return shopName;
    }

    public void setShopName(String shopName) {
        this.shopName = shopName;
    }

    public Long getEmployeeId() {
        return employeeId;
    }

    public void setEmployeeId(Long employeeId) {
        this.employeeId = employeeId;
    }

    @Override
    public String toString() {
        return "AppointedVo{" +
                "appointedId=" + appointedId +
                ", userName='" + userName + '\'' +
                ", paymoney='" + paymoney + '\'' +
                ", appointedStartTime=" + appointedStartTime +
                ", appointedOverTime=" + appointedOverTime +
                ", serviceName='" + serviceName + '\'' +
                ", appointedStatus=" + appointedStatus +
                ", payTime=" + payTime +
                ", shopName='" + shopName + '\'' +
                ", employeeId=" + employeeId +
                '}';
    }
}
